package com.wisevar.thirdplatform.gateway.api;


import com.wisevar.thirdplatform.gateway.constants.ApiConstants;
import com.wisevar.thirdplatform.gateway.model.common.ApiResult;
import com.wisevar.thirdplatform.gateway.model.common.IdResult;
import com.wisevar.thirdplatform.gateway.model.rechargeorder.SyncRechargeOrderParam;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(ApiConstants.APP_ID)
public interface RechargeOrderApi {

    String PATH_PREFIX = ApiConstants.API_PREFIX + "/recharge-order";

    @ApiOperation(value = "同步充值信息")
    @PostMapping(value = PATH_PREFIX + "/sync")
    ApiResult<IdResult> sync(SyncRechargeOrderParam param);


}


